Class: Fathom::ImportNode

Inherits:
Node
  • Object
show all
Defined in:
lib/fathom/import/import_node.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#description, #distribution, #name, #values

Instance Method Summary collapse

Methods inherited from Node

#add_child, #add_parent, #children, #inspect, #name_sym, #parents, #register_child, #register_parent, #simple_inspect

Constructor Details

#initialize(opts = {}) ⇒ ImportNode

Returns a new instance of ImportNode.



6
7
8
9
# File 'lib/fathom/import/import_node.rb', line 6

def initialize(opts={})
  super(opts)
  @imported_at = Time.now
end

Instance Attribute Details

#imported_atObject (readonly)

Returns the value of attribute imported_at.



4
5
6
# File 'lib/fathom/import/import_node.rb', line 4

def imported_at
  @imported_at
end