Class: Warg::Command::Step::BlockProxy

Inherits:
Struct
  • Object
show all
Defined in:
lib/warg.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



2030
2031
2032
# File 'lib/warg.rb', line 2030

def banner
  @banner
end

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



2030
2031
2032
# File 'lib/warg.rb', line 2030

def block
  @block
end

Instance Method Details

#to_procObject



2035
2036
2037
# File 'lib/warg.rb', line 2035

def to_proc
  block
end

#to_sObject



2031
2032
2033
# File 'lib/warg.rb', line 2031

def to_s
  banner
end