class Mumukit::Platform::WebFramework::Rails::LazyString

Public Class Methods

new(proc) click to toggle source
# File lib/mumukit/platform/web_framework.rb, line 4
def initialize(proc)
  @proc = proc
end

Public Instance Methods

to_s() click to toggle source
# File lib/mumukit/platform/web_framework.rb, line 8
def to_s
  @proc.call.to_s
end