Class: GreenPepper::DoWithLine

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(func, column, params) ⇒ DoWithLine

Returns a new instance of DoWithLine.



85
86
87
88
89
# File 'lib/greenpepper/example/dowithexample.rb', line 85

def initialize(func, column, params)
  @parameters = params
  @function = NameResolver.format_column_name func
  @result_column = column
end

Instance Attribute Details

#functionObject (readonly)

Returns the value of attribute function.



83
84
85
# File 'lib/greenpepper/example/dowithexample.rb', line 83

def function
  @function
end

#parametersObject (readonly)

Returns the value of attribute parameters.



83
84
85
# File 'lib/greenpepper/example/dowithexample.rb', line 83

def parameters
  @parameters
end

#result_columnObject (readonly)

Returns the value of attribute result_column.



83
84
85
# File 'lib/greenpepper/example/dowithexample.rb', line 83

def result_column
  @result_column
end

Instance Method Details

#accept?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/greenpepper/example/dowithexample.rb', line 99

def accept?
  false
end

#check?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/greenpepper/example/dowithexample.rb', line 95

def check?
  false
end

#function?Boolean

Returns:

  • (Boolean)


91
92
93
# File 'lib/greenpepper/example/dowithexample.rb', line 91

def function?
  false
end

#reject?Boolean

Returns:

  • (Boolean)


103
104
105
# File 'lib/greenpepper/example/dowithexample.rb', line 103

def reject?
  false
end