Skip to content

Commit

Permalink
Add some logic nodes to example to test sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Nov 23, 2013
1 parent 25fcd0b commit dbb6d1e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion example/app/foo.rb
@@ -1,5 +1,19 @@
class Adam
def bar
raise "foo"
if admin?
puts "logged in"
elsif special_persmission?
puts "one time only"
else
raise "foo"
end
end

def admin?
@admin
end

def special_persmission?
false
end
end

0 comments on commit dbb6d1e

Please sign in to comment.