Class: Origen::Registers::Domain
- Defined in:
- lib/origen/registers/domain.rb
Instance Attribute Summary collapse
-
#endian ⇒ Object
Returns the value of attribute endian.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Domain
constructor
A new instance of Domain.
Constructor Details
#initialize(name, options = {}) ⇒ Domain
Returns a new instance of Domain.
7 8 9 10 11 12 13 |
# File 'lib/origen/registers/domain.rb', line 7 def initialize(name, = {}) = { endian: :big }.merge() @name = name @endian = [:endian] end |