Class: JsonRander::JNumHead

Inherits:
JNumNode show all
Defined in:
lib/json_rander/json_num_builder.rb

Overview

node classes inhert from JNumNode head node class

Instance Method Summary collapse

Methods inherited from JNumNode

#initialize, #is_tail?, #random_next, #to_s

Constructor Details

This class inherits a constructor from JsonRander::JNumNode

Instance Method Details

#is_head?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/json_rander/json_num_builder.rb', line 38

def is_head?
  return true
end