Module: Lotion
- Defined in:
- lib/lotion/command.rb,
lib/lotion.rb,
lib/lotion/version.rb,
lib/lotion/application.rb,
lib/lotion/notifications.rb
Overview
require lotion/command
require lotion/notifications
Defined Under Namespace
Modules: Application, Notifications Classes: Command
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
-
.require {|graph| ... } ⇒ Object
Public API for accessing the dependency graph.
Class Method Details
.require {|graph| ... } ⇒ Object
Public API for accessing the dependency graph. Checks to make sure we are in a RubyMotion Rakefile, then yields the graph to the block. Projects and libraries can use this to add themselves to the dependency graph search path.
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lotion.rb', line 12 def require unless defined?( Motion::Project::Config ) raise <<-EOS ==================================================== This file must be required in a RubyMotion Rakefile. ==================================================== EOS end yield graph end |