mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dsl.rb: indent
* ext/ripper/tools/dsl.rb (DSL#generate): indent after surrounding by braces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4680cecd57
commit
23830ab9b2
1 changed files with 2 additions and 2 deletions
|
@ -31,11 +31,11 @@ class DSL
|
|||
def generate
|
||||
s = "$$"
|
||||
s = "p->result" if @final
|
||||
s = "\t\t\t#{ s } = #@code;"
|
||||
s = "#{ s } = #@code;"
|
||||
s << "ripper_error(p);" if @error
|
||||
s = "{#{ s }}" if @brace
|
||||
s = "$1 = var_field(p, $1);" + s if @var_field_1
|
||||
s
|
||||
"\t\t\t#{s}"
|
||||
end
|
||||
|
||||
def method_missing(event, *args)
|
||||
|
|
Loading…
Reference in a new issue