Class: Cucumber::Core::Ast::EmptyMultilineArgument

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/core/ast/empty_multiline_argument.rb

Instance Method Summary collapse

Instance Method Details

#all_locationsObject



21
22
23
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 21

def all_locations
  []
end

#data_table?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 9

def data_table?
  false
end

#describe_toObject



5
6
7
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 5

def describe_to(*)
  self
end

#doc_string?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 13

def doc_string?
  false
end

#inspectObject



29
30
31
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 29

def inspect
  "#<#{self.class}>"
end

#map(&block) ⇒ Object



17
18
19
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 17

def map(&block)
  self
end

#to_sexpObject



25
26
27
# File 'lib/cucumber/core/ast/empty_multiline_argument.rb', line 25

def to_sexp
  []
end