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.
74 75 76 |
# File 'lib/perron/site/builder/paths.rb', line 74 def initialize(value) @value = value end |
Instance Method Details
#buildable? ⇒ Boolean
80 |
# File 'lib/perron/site/builder/paths.rb', line 80 def buildable? = true |
#root? ⇒ Boolean
82 |
# File 'lib/perron/site/builder/paths.rb', line 82 def root? = false |
#to_param ⇒ Object
78 |
# File 'lib/perron/site/builder/paths.rb', line 78 def to_param = @value |