Class: Opal::Util::DigestSourceCommand
- Defined in:
- opal/lib/opal/util.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Opal::Util::Command
Instance Method Details
#digest(source) ⇒ Object
59 60 61 62 63 64 65 |
# File 'opal/lib/opal/util.rb', line 59 def digest(source) IO.popen("#{command} #{} #{hide_stderr}", 'r+') do |i| i.puts source i.close_write i.read end end |