Writing up some basic rspecs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
module Squib
|
||||
class Deck
|
||||
def csv(file: 'deck.csv', header: true)
|
||||
raise 'Not implemented!'
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -2,6 +2,7 @@ module Squib
|
||||
class Deck
|
||||
|
||||
def png(range=:all, file: nil, x: 0, y: 0)
|
||||
raise 'Not implemented!'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
module Squib
|
||||
class Deck
|
||||
def fontify (font)
|
||||
font = 'Arial 36' if font==:use_set
|
||||
font
|
||||
end
|
||||
|
||||
def font(type: 'Arial', size: 12, **options)
|
||||
raise 'Not implemented!'
|
||||
end
|
||||
|
||||
def set_font(type: 'Arial', size: 12, **options)
|
||||
raise 'Not implemented!'
|
||||
end
|
||||
|
||||
def text(range: :all, str: '', font: :use_set, x: 0, y: 0, **options)
|
||||
|
||||
Reference in New Issue
Block a user