Class: Fathom::ImportNode
Instance Attribute Summary collapse
-
#imported_at ⇒ Object
readonly
Returns the value of attribute imported_at.
Attributes inherited from Node
#description, #distribution, #name, #values
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ImportNode
constructor
A new instance of ImportNode.
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_at ⇒ Object (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 |