Class: Nvr

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/nvr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Nvr

Returns a new instance of Nvr.



11
12
13
# File 'lib/nvr.rb', line 11

def initialize(value)
  self.nip = value
end

Instance Attribute Details

#nipObject

Returns the value of attribute nip.



6
7
8
# File 'lib/nvr.rb', line 6

def nip
  @nip
end