Method: Arrogance::BlogObject#get
- Defined in:
- lib/arrogance/objects.rb
#get(*args) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/arrogance/objects.rb', line 60 def get(*args) ary = [] if args.length > 1 args.each do |pos| ary << @aoh[@positions[pos.intern]] end else return @aoh[@positions[args[0].intern]] end return ary end |