Class: Farseer::Empty

Inherits:
Object
  • Object
show all
Includes:
MapFactory
Defined in:
lib/farseer/empty.rb

Instance Method Summary collapse

Methods included from MapFactory

#map

Constructor Details

#initializeEmpty

Returns a new instance of Empty.



7
8
9
# File 'lib/farseer/empty.rb', line 7

def initialize
  freeze
end

Instance Method Details

#parse(input) ⇒ Object



11
12
13
# File 'lib/farseer/empty.rb', line 11

def parse(input)
  Maybe.return Result.new('', input)
end