class OpenStruct

some of our Linode API data results include a 'type' data member. OpenStruct will have problems providing a .type method, so we special-case this.

Public Instance Methods

type() click to toggle source
# File lib/ostruct_tweak.rb, line 5
def type
  @table[:type]
end