module Gates
Constants
- Error
- UninitializedError
- VERSION
Attributes
manifest[RW]
Public Class Methods
for(version_id)
click to toggle source
# File lib/gates.rb, line 20 def for(version_id) raise UninitializedError unless @manifest @manifest[version_id] end
load(file_path)
click to toggle source
# File lib/gates.rb, line 15 def load(file_path) hash = Psych.parse_file(file_path) @manifest = Manifest.new(hash) end