Class: Fathom::Network

Inherits:
Object
  • Object
show all
Extended by:
Plugins
Includes:
Enumerable
Defined in:
lib/fathom/data/network.rb

Instance Method Summary collapse

Methods included from Plugins

plugin, plugins

Constructor Details

#initialize(attrs = {}) ⇒ Network

Returns a new instance of Network.



20
21
22
# File 'lib/fathom/data/network.rb', line 20

def initialize(attrs={})
  @attributes = attrs
end

Instance Method Details

#each(&block) ⇒ Object Also known as: each_variable

Instance Methods =



27
28
29
30
31
# File 'lib/fathom/data/network.rb', line 27

def each(&block)
  variables.each do |variable|
    yield variable
  end
end