Skip to content

Commit

Permalink
Experiment F: construct local scope for class.name.split
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Feb 15, 2008
1 parent 2613b1f commit 97f4e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/god/configurable.rb
Expand Up @@ -31,6 +31,7 @@ def valid?
end

def base_name
x = 1
self.class.name.split('::').last
end

Expand Down

0 comments on commit 97f4e2a

Please sign in to comment.