Class: Occson::Rails::EnvironmentParser
- Inherits:
-
Object
- Object
- Occson::Rails::EnvironmentParser
- Defined in:
- lib/occson/rails/environment_parser.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(content) ⇒ EnvironmentParser
constructor
A new instance of EnvironmentParser.
Constructor Details
#initialize(content) ⇒ EnvironmentParser
Returns a new instance of EnvironmentParser.
4 5 6 |
# File 'lib/occson/rails/environment_parser.rb', line 4 def initialize(content) @content = content end |
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/occson/rails/environment_parser.rb', line 8 def call Hash[parse] end |