class Cnccs::Note

Attributes

ccs_code[R]

@return [String]

text[R]

@return [String]

Public Class Methods

new(text, ccs_code) click to toggle source

@param text [String] @param ccs_code [String]

# File lib/cnccs/ccs.rb, line 11
def initialize(text, ccs_code)
  @text     = text
  @ccs_code = ccs_code
end

Public Instance Methods

ccs() click to toggle source

Fetch ccs reference by code. @return [Cnccs::Ccs]

# File lib/cnccs/ccs.rb, line 18
def ccs
  Ccs.new @ccs_code
end