Class: BoPeep::Command::Step::BlockProxy

Inherits:
Struct
  • Object
show all
Defined in:
lib/bopeep.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

Returns the value of attribute banner

Returns:

  • (Object)

    the current value of banner



2174
2175
2176
# File 'lib/bopeep.rb', line 2174

def banner
  @banner
end

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



2174
2175
2176
# File 'lib/bopeep.rb', line 2174

def block
  @block
end

Instance Method Details

#to_procObject



2179
2180
2181
# File 'lib/bopeep.rb', line 2179

def to_proc
  block
end

#to_sObject



2175
2176
2177
# File 'lib/bopeep.rb', line 2175

def to_s
  banner
end