123456789_123456789_123456789_123456789_123456789_

Class: Gem::SafeMarshal::Elements::Bignum

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Element
Instance Chain:
self, Element
Inherits: Gem::SafeMarshal::Elements::Element
Defined in: lib/rubygems/safe_marshal/elements.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(sign, data) ⇒ Bignum

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 130

def initialize(sign, data)
  @sign = sign
  @data = data
end

Instance Attribute Details

#data (readonly)

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 134

attr_reader :sign, :data

#sign (readonly)

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 134

attr_reader :sign, :data