class DrawCloud::SimpleRef

Attributes

literal[RW]

Public Class Methods

new(literal) click to toggle source
# File lib/draw_cloud/simple_ref.rb, line 22
def initialize(literal)
  @literal = literal
end

Public Instance Methods

ref() click to toggle source
# File lib/draw_cloud/simple_ref.rb, line 26
def ref
  {"Ref" => literal}
end