Module: RubyScribe::EmitterConfig

Extended by:
ActiveSupport::Concern
Included in:
Emitter
Defined in:
lib/ruby_scribe/emitter_config.rb

Instance Method Summary collapse

Instance Method Details

#initializeObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/ruby_scribe/emitter_config.rb', line 13

def initialize
  self.grouped_methods = %w(require attr_accessor autoload)
  self.long_hash_key_size = 5
  self.default_indent = 2
  self.syntactic_methods = ['+', '-', '<<', '==', '===', '>', '<']
  
  self.methods_without_parenthesis = %w(
    attr_accessor attr_reader attr_writer
    alias alias_method alias_attribute
    gem require extend include raise
    delegate autoload raise
    puts
  )
end