Class: Goodcheck::Glob
- Inherits:
-
Object
- Object
- Goodcheck::Glob
- Defined in:
- lib/goodcheck/glob.rb
Instance Attribute Summary collapse
-
#encoding ⇒ Object
readonly
Returns the value of attribute encoding.
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
Instance Method Summary collapse
-
#initialize(pattern:, encoding:) ⇒ Glob
constructor
A new instance of Glob.
Constructor Details
#initialize(pattern:, encoding:) ⇒ Glob
Returns a new instance of Glob.
6 7 8 9 |
# File 'lib/goodcheck/glob.rb', line 6 def initialize(pattern:, encoding:) @pattern = pattern @encoding = encoding end |
Instance Attribute Details
#encoding ⇒ Object (readonly)
Returns the value of attribute encoding.
4 5 6 |
# File 'lib/goodcheck/glob.rb', line 4 def encoding @encoding end |
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
3 4 5 |
# File 'lib/goodcheck/glob.rb', line 3 def pattern @pattern end |