Class: Ruckus::Le64
Constant Summary
Constants inherited from Number
Constants inherited from Parsel
Instance Attribute Summary
Attributes inherited from Number
#ascii, #endian, #pad, #radix, #value, #width
Attributes inherited from Parsel
#name, #parent, #rendered_offset, #rendering, #tag, #value
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Le64
constructor
A new instance of Le64.
Methods inherited from Number
#ascii_capture, #ascii_to_s, #capture, #odd_width?, #odd_width_capture, #odd_width_first?, #odd_width_to_s, #resolve, #size, #span_bits, #span_offset, #to_s
Methods inherited from Parsel
bytes_for_bits, coerce, #each_matching_selector, endian?, factory?, #find_containing, #find_tag, #find_tag_struct, #fixup, #in, #incomplete!, #index_for_selectors, #inspect, #matches_selector?, #method_missing, #native?, native?, #next, #out, #parent_structure, #permute, #prev, #resolve, #respond_to?, #root, #size, #visit, #where_am_i?
Constructor Details
#initialize(opts = {}) ⇒ Le64
Returns a new instance of Le64.
298 299 |
# File 'lib/ruckus/number.rb', line 298 def initialize(opts={}); super(opts.merge(:width => 64, :endian => :little)) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ruckus::Parsel