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



1940
1941
1942
# File 'lib/warg.rb', line 1940

def banner
  @banner
end

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



1940
1941
1942
# File 'lib/warg.rb', line 1940

def block
  @block
end

Instance Method Details

#to_procObject



1945
1946
1947
# File 'lib/warg.rb', line 1945

def to_proc
  block
end

#to_sObject



1941
1942
1943
# File 'lib/warg.rb', line 1941

def to_s
  banner
end