class NxtSchema::Template::Leaf

Public Class Methods

new(name:, type: :String, parent_node:, **options, &block) click to toggle source
Calls superclass method NxtSchema::Template::Base::new
# File lib/nxt_schema/template/leaf.rb, line 4
def initialize(name:, type: :String, parent_node:, **options, &block)
  super
end

Public Instance Methods

leaf?() click to toggle source
# File lib/nxt_schema/template/leaf.rb, line 8
def leaf?
  true
end