Class: VisualStudio::Name

Inherits:
String
  • Object
show all
Defined in:
lib/visual_studio/name.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, opts = {}) ⇒ Name

Returns a new instance of Name.



4
5
6
7
# File 'lib/visual_studio/name.rb', line 4

def initialize(name, opts={})
  super(name)
  @pretty = opts[:pretty] || nil
end

Instance Attribute Details

#prettyObject (readonly)

Returns the value of attribute pretty.



3
4
5
# File 'lib/visual_studio/name.rb', line 3

def pretty
  @pretty
end