Class: Mulder::Formats::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mulder/formats/base.rb

Direct Known Subclasses

Human

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instances) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/mulder/formats/base.rb', line 7

def initialize(instances)
  @instances = instances
end

Instance Attribute Details

#instancesObject (readonly)

Returns the value of attribute instances.



5
6
7
# File 'lib/mulder/formats/base.rb', line 5

def instances
  @instances
end

Instance Method Details

#outputObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/mulder/formats/base.rb', line 11

def output
  raise NotImplementedError
end