diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-06-25 14:44:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-06-25 14:44:22 +0000 |
commit | 99d268c8534ad398c6c60a4978ef94699cbb8ada (patch) | |
tree | 70a65800284217eef66405826748c8588504e666 /activeresource/lib/active_resource/struct.rb | |
parent | a55265132b37c6fb8ac15a96b44e64a64bcd4c45 (diff) | |
download | rails-99d268c8534ad398c6c60a4978ef94699cbb8ada.tar.gz rails-99d268c8534ad398c6c60a4978ef94699cbb8ada.tar.bz2 rails-99d268c8534ad398c6c60a4978ef94699cbb8ada.zip |
Initial check-in of Active Resourse
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/lib/active_resource/struct.rb')
-rw-r--r-- | activeresource/lib/active_resource/struct.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |