Method: Intent::Core::Noun#initialize

Defined in:
lib/intent/core.rb

#initialize(type, label, tags) ⇒ Noun

Returns a new instance of Noun.



25
26
27
28
29
30
# File 'lib/intent/core.rb', line 25

def initialize(type, label, tags)
  @type = type
  @label = label
  @props = lex_props(tags)
  @tags = tags
end