Module: Cabbage

Defined in:
lib/cabbage.rb

Defined Under Namespace

Classes: DotFile

Class Method Summary collapse

Class Method Details

.dotfile(*args, &block) ⇒ Object



10
11
12
# File 'lib/cabbage.rb', line 10

def self.dotfile(*args, &block)
  DotFile.new(args[0], &block) # passes the the first argument on
end

.new(*args, &block) ⇒ Object

just pass calls to new on to DotFile class for now



6
7
8
# File 'lib/cabbage.rb', line 6

def self.new(*args, &block)
  DotFile.new(args[0], &block) # passes the the first argument on
end