Sha256: fa4236d7d3c68f53f1fd69a83d0d12123e66652b68f3abae3243c6cc220fb22b

Contents?: true

Size: 177 Bytes

Versions: 11

Compression:

Stored size: 177 Bytes

Contents

require 'ostruct'

# Fix a few bugs in OpenStruct
class OpenStruct
  def table
    @table
  end
  
  def values
    @table.values
  end
  
  def keys
    @table.keys
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fathom-0.3.7 lib/ext/open_struct.rb
fathom-0.3.6 lib/ext/open_struct.rb
fathom-0.3.4 lib/ext/open_struct.rb
fathom-0.3.3 lib/ext/open_struct.rb
fathom-0.3.2 lib/ext/open_struct.rb
fathom-0.3.1 lib/ext/open_struct.rb
fathom-0.3.0 lib/fathom/ext/open_struct.rb
fathom-0.2.3 lib/fathom/ext/open_struct.rb
fathom-0.2.2 lib/fathom/ext/open_struct.rb
fathom-0.2.1 lib/fathom/ext/open_struct.rb
fathom-0.2.0 lib/fathom/ext/open_struct.rb