Module: Reflection

Defined in:
lib/reflection.rb,
lib/reflection/cli.rb,
lib/reflection/rails.rb,
lib/reflection/config.rb,
lib/reflection/command.rb,
lib/reflection/support.rb,
lib/reflection/directory.rb,
lib/reflection/repository.rb,
lib/reflection/support/log.rb,
lib/reflection/validations.rb,
lib/reflection/command/base.rb,
lib/reflection/support/home.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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.homeObject

Returns the value of attribute home.



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

def home
  @home
end

.logObject

Returns the value of attribute log.



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

def log
  @log
end

.verboseObject

Returns the value of attribute verbose.



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

def verbose
  @verbose
end

Class Method Details

.boot!(args) ⇒ Object



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

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