Class: Drntest::RequireCatalogVersionDirective

Inherits:
Directive
  • Object
show all
Defined in:
lib/drntest/directive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ RequireCatalogVersionDirective

Returns a new instance of RequireCatalogVersionDirective.



54
55
56
# File 'lib/drntest/directive.rb', line 54

def initialize(version)
  @version = version
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



52
53
54
# File 'lib/drntest/directive.rb', line 52

def version
  @version
end