Module: Detroit::RubyUtils
- Defined in:
- lib/detroit/ruby_utils.rb
Overview
Methods for working with a Ruby projects.
Instance Method Summary collapse
-
#current_platform ⇒ Object
Current platform.
-
#prerequisite ⇒ Object
TODO: Rename to preinitialize.
Instance Method Details
#current_platform ⇒ Object
Current platform.
16 17 18 |
# File 'lib/detroit/ruby_utils.rb', line 16 def current_platform Platform.local.to_s end |
#prerequisite ⇒ Object
TODO: Rename to preinitialize.
11 12 13 |
# File 'lib/detroit/ruby_utils.rb', line 11 def prerequisite require 'facets/platform' end |