Class: Eddy::Models::Element::B
- Inherits:
-
Base
- Object
- Base
- Eddy::Models::Element::B
show all
- Defined in:
- lib/eddy/models/element/b.rb
Overview
Binary Data.
This type only occurs in the BIN segment.
See:
Instance Attribute Summary
Attributes inherited from Base
#description, #id, #max, #min, #name, #ref, #type
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#doc_comment, #req, #req=
Constructor Details
#initialize(min:, max:, req: nil, ref: nil, val: nil) ⇒ void
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/eddy/models/element/b.rb', line 18
def initialize(
min:,
max:,
req: nil,
ref: nil,
val: nil
)
@type = "B"
@min = min
@max = max
self.req = req
self.ref = ref
self.value = val
end
|
Class Method Details
.process_value ⇒ String
51
52
53
|
# File 'lib/eddy/models/element/b.rb', line 51
def self.process_value()
super()
end
|
Instance Method Details
#process_value ⇒ String
46
47
48
|
# File 'lib/eddy/models/element/b.rb', line 46
def process_value()
return self.class.process_value()
end
|
#value ⇒ String<Binary>
41
42
43
|
# File 'lib/eddy/models/element/b.rb', line 41
def value()
return super()
end
|
#value=(_arg) ⇒ void
This method returns an undefined value.
35
36
37
|
# File 'lib/eddy/models/element/b.rb', line 35
def value=(_arg)
super()
end
|