Class: AtCoderFriends::Generator::ConstFragment

Inherits:
FragmentBase
  • Object
show all
Defined in:
lib/at_coder_friends/generator/fragment.rb

Overview

base class for constant declaration generator

Instance Attribute Summary

Attributes inherited from FragmentBase

#templates

Instance Method Summary collapse

Methods inherited from FragmentBase

#initialize, #method_missing, #render, #respond_to_missing?, #to_s

Constructor Details

This class inherits a constructor from AtCoderFriends::Generator::FragmentBase

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AtCoderFriends::Generator::FragmentBase

Instance Method Details

#generateObject



55
56
57
# File 'lib/at_coder_friends/generator/fragment.rb', line 55

def generate
  render(type)
end