Class: Perron::Site::Builder::Paths::ConstraintResource
- Inherits:
-
Object
- Object
- Perron::Site::Builder::Paths::ConstraintResource
- Defined in:
- lib/perron/site/builder/paths.rb
Defined Under Namespace
Classes: Metadata
Instance Method Summary collapse
- #buildable? ⇒ Boolean
-
#initialize(value) ⇒ ConstraintResource
constructor
A new instance of ConstraintResource.
- #metadata ⇒ Object
- #root? ⇒ Boolean
- #to_param ⇒ Object
Constructor Details
#initialize(value) ⇒ ConstraintResource
Returns a new instance of ConstraintResource.
56 57 58 |
# File 'lib/perron/site/builder/paths.rb', line 56 def initialize(value) @value = value end |
Instance Method Details
#buildable? ⇒ Boolean
62 |
# File 'lib/perron/site/builder/paths.rb', line 62 def buildable? = true |
#root? ⇒ Boolean
64 |
# File 'lib/perron/site/builder/paths.rb', line 64 def root? = false |
#to_param ⇒ Object
60 |
# File 'lib/perron/site/builder/paths.rb', line 60 def to_param = @value |