lib/maestrano/open_struct.rb in maestrano-0.12.4 vs lib/maestrano/open_struct.rb in maestrano-0.12.5
- old
+ new
@@ -1,11 +1,9 @@
module Maestrano
-
- # Extebd OpenStruct to include a 'attributes'
- # method
+ # Extend OpenStruct to include a 'attributes' method
class OpenStruct < ::OpenStruct
# Return all object defined attributes
def attributes
(self.methods - self.class.new.methods).reject {|method| method =~ /=$/ }
end
end
-end
\ No newline at end of file
+end