Class: EY::Serverside::LockfileParser
- Defined in:
- lib/engineyard-serverside/lockfile_parser.rb
Defined Under Namespace
Classes: BaseParser, Parse09, Parse10, Parse106
Instance Attribute Summary collapse
-
#bundler_version ⇒ Object
readonly
Returns the value of attribute bundler_version.
-
#lockfile_version ⇒ Object
readonly
Returns the value of attribute lockfile_version.
Instance Method Summary collapse
-
#initialize(lockfile_contents) ⇒ LockfileParser
constructor
A new instance of LockfileParser.
Constructor Details
#initialize(lockfile_contents) ⇒ LockfileParser
Returns a new instance of LockfileParser.
8 9 10 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 8 def initialize(lockfile_contents) @lockfile_version, @bundler_version = Parse106.new(lockfile_contents).parse end |
Instance Attribute Details
#bundler_version ⇒ Object (readonly)
Returns the value of attribute bundler_version.
6 7 8 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 6 def bundler_version @bundler_version end |
#lockfile_version ⇒ Object (readonly)
Returns the value of attribute lockfile_version.
6 7 8 |
# File 'lib/engineyard-serverside/lockfile_parser.rb', line 6 def lockfile_version @lockfile_version end |