Class: GreenPepper::DoWithLineNoKeyword

Inherits:
DoWithLine
  • Object
show all
Defined in:
lib/greenpepper/example/dowithexample.rb

Instance Attribute Summary

Attributes inherited from DoWithLine

#function, #parameters, #result_column

Instance Method Summary collapse

Methods inherited from DoWithLine

#accept?, #check?, #initialize, #reject?

Constructor Details

This class inherits a constructor from GreenPepper::DoWithLine

Instance Method Details

#execute(fixture) ⇒ Object



124
125
126
127
# File 'lib/greenpepper/example/dowithexample.rb', line 124

def execute(fixture)
  call_func fixture
  nil #Do not add a result
end

#function?Boolean

Returns:

  • (Boolean)


129
130
131
# File 'lib/greenpepper/example/dowithexample.rb', line 129

def function?
  true
end