Module: HelperMethods

Extended by:
ClassMethods
Included in:
BytecodeConverter, SwxAssembler
Defined in:
lib/swxruby/helper_module.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Methods included from ClassMethods

calculate_bytecode_length, generate_push_statement, integer_to_hexadecimal, make_little_endian, pad_string_to_byte_boundary, string_length_in_bytes_hex

Class Method Details

.included(receiver) ⇒ Object



69
70
71
# File 'lib/swxruby/helper_module.rb', line 69

def self.included(receiver)
  receiver.extend(ClassMethods)
end