Module: Chawan::Node::GatewayInterface

Included in:
Chawan::Node
Defined in:
lib/chawan/node.rb

Instance Method Summary collapse

Instance Method Details

#noun?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/chawan/node.rb', line 7

def noun?
  category.to_s =~ /名詞/
end

#verb?Boolean

Returns:

  • (Boolean)


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

def verb?
  category.to_s =~ /動詞/
end