Module: RailsPing

Defined in:
lib/rails_ping.rb,
lib/rails_ping/version.rb

Defined Under Namespace

Classes: Engine, PingController

Constant Summary collapse

VERSION =
'0.2.3'

Class Method Summary collapse

Class Method Details

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

Yield self on setup for nice config blocks

Yields:

  • (_self)

Yield Parameters:

  • _self (RailsPing)

    the object that the method was called on



12
13
14
# File 'lib/rails_ping.rb', line 12

def self.setup
  yield self
end