Module: Reflection

Defined in:
lib/reflection.rb,
lib/reflection/cli.rb,
lib/reflection/rails.rb,
lib/reflection/config.rb,
lib/reflection/support.rb,
lib/reflection/command.rb,
lib/reflection/directory.rb,
lib/reflection/repository.rb,
lib/reflection/support/log.rb,
lib/reflection/validations.rb,
lib/reflection/support/home.rb,
lib/reflection/command/base.rb,
lib/reflection/command/apply.rb,
lib/reflection/command/stash.rb,
lib/reflection/directory/base.rb,
lib/reflection/directory/stash.rb

Defined Under Namespace

Modules: CLI, Command, Directory, Rails, Support, Validations Classes: Config, ConfigArgumentError, Repository

Attribute Summary

Method Summary

Attribute Details

+ (Object) home

Returns the value of attribute home



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

def home
  @home
end

+ (Object) log

Returns the value of attribute log



16
17
18
# File 'lib/reflection.rb', line 16

def log
  @log
end

Method Details

+ (Object) boot!(args)



18
19
20
21
22
23
# File 'lib/reflection.rb', line 18

def boot!(args)
  @log = Reflection::Support::Log.new
  @home = Reflection::Support::Home.new
  @home.create
  Reflection::CLI.run!(args)
end