Sha256: 1d5165c196f1220206ed0691a6603c96c6700b913877a1dba956c84b09e0cc80

Contents?: true

Size: 213 Bytes

Versions: 40

Compression:

Stored size: 213 Bytes

Contents

class UIFont
  def uifont(font_size=nil)
    if font_size.nil?
      self
    else
      font_size = font_size.uifontsize if font_size.respond_to?(:uifontsize)
      self.fontWithSize(font_size)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
sugarcube-4.0.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.5.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.4.2 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.4.1 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.4.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.7 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.6 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.5 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.4 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.3 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.2 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.1 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.3.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.2.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.1.1 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.1.0 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.8 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.7 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.6 lib/ios/sugarcube-ui/uifont.rb
sugarcube-3.0.5 lib/ios/sugarcube-ui/uifont.rb