Module: Shorthand::Init

Defined in:
lib/shorthand.rb

Instance Method Summary collapse

Instance Method Details

#initialize(*args, &block) ⇒ Object



11
12
13
14
15
16
# File 'lib/shorthand.rb', line 11

def initialize(*args, &block)
  super
  if block
    ::Shorthand::Provider.new(self, &block)
  end
end