module Grably
Grably
main module. TBD
Constants
- COLOR_CODES
- GRABLY_BANNER
- WORKING_DIR
All working files are stored under .grably directory.
Attributes
config[R]
export_path[W]
Public Class Methods
[](path = Dir.pwd, task = :default)
click to toggle source
# File lib/grably.rb, line 59 def [](path = Dir.pwd, task = :default) Grably::Module.reference(path, task) end
export?()
click to toggle source
# File lib/grably.rb, line 50 def export? # Ensure boolean value !!export_path # rubocop:disable Style/DoubleNegation end
export_path()
click to toggle source
# File lib/grably.rb, line 38 def export_path @export_path || ENV['EXPORT'] end
export_tasks()
click to toggle source
# File lib/grably.rb, line 42 def export_tasks @export_tasks ||= (ENV['EXPORT_TASKS'] || '').split(',') end
export_tasks=(task_names)
click to toggle source
# File lib/grably.rb, line 46 def export_tasks=(task_names) @export_tasks = task_names.dup.freeze end
exports()
click to toggle source
# File lib/grably.rb, line 55 def exports @exports ||= [] end
init()
click to toggle source
# File lib/grably.rb, line 28 def init @config = Grably::Core::Configuration.load end
server()
click to toggle source
# File lib/grably.rb, line 32 def server @server ||= Grably::Server.new end