class Ecogem::Gemfile::Marshal::Data

Public Class Methods

new(hash) click to toggle source
# File lib/ecogem/gemfile/marshal.rb, line 17
def initialize(hash)
  @hash = hash
end

Public Instance Methods

dependencies() click to toggle source
# File lib/ecogem/gemfile/marshal.rb, line 21
def dependencies
  @hash[:dependencies]
end
groups() click to toggle source
# File lib/ecogem/gemfile/marshal.rb, line 25
def groups
  @hash[:groups]
end
sources() click to toggle source
# File lib/ecogem/gemfile/marshal.rb, line 29
def sources
  @hash[:sources]
end