-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some logic nodes to example to test sourcemaps
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.4.9.1.0.3.7
- v0.4.8.1.0.3.7
- v0.4.7.1.0.3.7
- v0.4.6.1.0.3.7
- v0.4.5.1.0.3.7
- v0.4.4.1.0.3.7
- v0.4.3.0.11.0.3.7
- v0.4.2.0.11.0.3.1
- v0.4.2.pre.1.0.11.0.3.1
- v0.4.1.0.11.0.3.1
- v0.4.1.0.11.0.rc1.3.1
- v0.4.1.0.11.0.rc1.3.1.beta2
- v0.4.1.0.10.4.3.1.0
- v0.4.1.0.3.7
- v0.4.0.0.11.0.rc1.3.1.beta2
- v0.4.0.0.11.dev.3.1.beta1
- v0.4.0.0.10.0.3.0.0
- v0.4.0.0.10.0.3.0.beta1
1 parent
25fcd0b
commit dbb6d1e
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |