Method: Runfile.setup

Defined in:
lib/runfile/setup.rb

.setup {|_self| ... } ⇒ Object

You can also configure Runfile by providing a block:

Runfile.setup do |config|
  config.quiet = true
end

Yields:

  • (_self)

Yield Parameters:

  • _self (Runfile)

    the object that the method was called on



15
16
17
# File 'lib/runfile/setup.rb', line 15

def setup
  yield self
end