Class: ScaffoldParser::Scaffolders::XSD::Parser::Handlers::ClassInherit

Inherits:
Object
  • Object
show all
Defined in:
lib/scaffold_parser/scaffolders/xsd/parser/handlers/class_inherit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ ClassInherit

Returns a new instance of ClassInherit.



9
10
11
# File 'lib/scaffold_parser/scaffolders/xsd/parser/handlers/class_inherit.rb', line 9

def initialize(base)
  @base = base&.camelize
end

Instance Attribute Details

#baseObject (readonly)

Returns the value of attribute base.



7
8
9
# File 'lib/scaffold_parser/scaffolders/xsd/parser/handlers/class_inherit.rb', line 7

def base
  @base
end