class Warg::Localhost::BlockProxy

Public Class Methods

new(banner, &block) click to toggle source
# File lib/warg.rb, line 604
def initialize(banner, &block)
  @banner = banner
  @block = block
end

Public Instance Methods

to_proc() click to toggle source
# File lib/warg.rb, line 613
def to_proc
  @block
end
to_s() click to toggle source
# File lib/warg.rb, line 609
def to_s
  @banner.dup
end