class Twigg::Command::Init

Public Class Methods

new(*args) click to toggle source
Calls superclass method Twigg::Command::new
# File lib/twigg/command/init.rb, line 4
def initialize(*args)
  super
  ignore @args
end

Public Instance Methods

run() click to toggle source
# File lib/twigg/command/init.rb, line 9
def run
  path = Twigg.root + 'templates' + 'twiggrc.yml'
  IO.copy_stream(path, STDOUT)
end