Class: Occson::Rails::EnvironmentParser

Inherits:
Object
  • Object
show all
Defined in:
lib/occson/rails/environment_parser.rb

Instance Method Summary collapse

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

#callObject



8
9
10
# File 'lib/occson/rails/environment_parser.rb', line 8

def call
  Hash[parse]
end