This website works better with JavaScript
Home
Explore
Help
Register
Sign In
david
/
huginn
mirror of
https://github.com/huginn/huginn.git
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
Make `dry_run!` mark the object as `readonly!`.
Akinori MUSHA
10 years ago
parent
45ab179cc7
commit
ba73dd4c8f
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
app/concerns/dry_runnable.rb
+ 2
- 0
app/concerns/dry_runnable.rb
View File
@@ -1,5 +1,7 @@
module DryRunnable
def dry_run!
+ readonly!
+
class << self
prepend Sandbox
end