Class: Xberg::HostMatcherExact
- Inherits:
-
Data
- Object
- Data
- Xberg::HostMatcherExact
- Extended by:
- T::Sig
- Includes:
- HostMatcher
- Defined in:
- lib/xberg/native.rb
Overview
Exact hostname match (case-insensitive).
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
2601 2602 2603 |
# File 'lib/xberg/native.rb', line 2601 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
2617 2618 2619 |
# File 'lib/xberg/native.rb', line 2617 def self.from_hash(hash) new(value: hash[:value] || hash["value"]) end |
Instance Method Details
#cidr? ⇒ Boolean
2613 2614 2615 |
# File 'lib/xberg/native.rb', line 2613 def cidr? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#exact? ⇒ Boolean
2609 |
# File 'lib/xberg/native.rb', line 2609 def exact? = true |
#suffix? ⇒ Boolean
2611 |
# File 'lib/xberg/native.rb', line 2611 def suffix? = false |