Module: PathMapper::Node::Null::Representation

Included in:
PathMapper::Node::Null
Defined in:
lib/path_mapper/node/null/representation.rb

Instance Method Summary collapse

Instance Method Details

#any?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/path_mapper/node/null/representation.rb', line 17

def any?
  false
end

#empty?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/path_mapper/node/null/representation.rb', line 13

def empty?
  true
end

#nil?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/path_mapper/node/null/representation.rb', line 9

def nil?
  true
end

#to_sObject



5
6
7
# File 'lib/path_mapper/node/null/representation.rb', line 5

def to_s
  ''
end