From 99d268c8534ad398c6c60a4978ef94699cbb8ada Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 25 Jun 2006 14:44:22 +0000 Subject: Initial check-in of Active Resourse git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activeresource/lib/active_resource/struct.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 activeresource/lib/active_resource/struct.rb (limited to 'activeresource/lib/active_resource/struct.rb') diff --git a/activeresource/lib/active_resource/struct.rb b/activeresource/lib/active_resource/struct.rb new file mode 100644 index 0000000000..6f4ffecc20 --- /dev/null +++ b/activeresource/lib/active_resource/struct.rb @@ -0,0 +1,7 @@ +module ActiveResource + class Struct + def self.create + Class.new(Base) + end + end +end \ No newline at end of file -- cgit v1.2.3