Class: Object

Inherits:
BasicObject
Defined in:
lib/itrigga/core_ext/object.rb

Instance Method Summary collapse

Instance Method Details

#to_aObject

just cause its so damm handy



5
6
7
# File 'lib/itrigga/core_ext/object.rb', line 5

def to_a
  self.respond_to?(:to_ary) ? self.to_ary : [self]
end