Class: Menkar::Detection
- Inherits:
-
Object
- Object
- Menkar::Detection
- Defined in:
- sig/menkar.rbs
Instance Attribute Summary collapse
-
#binary ⇒ Boolean
readonly
Returns the value of attribute binary.
-
#bom ⇒ String
readonly
Returns the value of attribute bom.
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
-
#encoding ⇒ Encoding?
readonly
Returns the value of attribute encoding.
-
#indent ⇒ Indent?
readonly
Returns the value of attribute indent.
-
#newline ⇒ :lf, ...
readonly
Returns the value of attribute newline.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#binary ⇒ Boolean (readonly)
Returns the value of attribute binary.
23 24 25 |
# File 'sig/menkar.rbs', line 23 def binary @binary end |
#bom ⇒ String (readonly)
Returns the value of attribute bom.
20 21 22 |
# File 'sig/menkar.rbs', line 20 def bom @bom end |
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
19 20 21 |
# File 'sig/menkar.rbs', line 19 def confidence @confidence end |
#encoding ⇒ Encoding? (readonly)
Returns the value of attribute encoding.
18 19 20 |
# File 'sig/menkar.rbs', line 18 def encoding @encoding end |
#indent ⇒ Indent? (readonly)
Returns the value of attribute indent.
22 23 24 |
# File 'sig/menkar.rbs', line 22 def indent @indent end |
#newline ⇒ :lf, ... (readonly)
Returns the value of attribute newline.
21 22 23 |
# File 'sig/menkar.rbs', line 21 def newline @newline end |
Class Method Details
.new ⇒ Object
24 |
# File 'sig/menkar.rbs', line 24
def self.new: (Encoding? encoding, Float confidence, String bom,
|
Instance Method Details
#with ⇒ Object
28 |
# File 'sig/menkar.rbs', line 28
def with: (?encoding: Encoding?, ?confidence: Float, ?bom: String,
|