Skip to content

Instantly share code, notes, and snippets.

@tomas-stefano
Created August 11, 2014 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomas-stefano/c5591a322522f5f4c99f to your computer and use it in GitHub Desktop.
Save tomas-stefano/c5591a322522f5f4c99f to your computer and use it in GitHub Desktop.
Rubyconf T-shirt code
class Rubyconf
event year: 2014, role: :rubyist
end
class Rubyconf
event year: 2014, role: :staff
end
@carloslopes
Copy link

Uma outra opção seria:

Rubyconf.new(year: 2014, role: :staff)

@macedo
Copy link

macedo commented Aug 11, 2014

class Rubyconf
  event year: 2014,
        role: :staff 
end

@ndrluis
Copy link

ndrluis commented Aug 11, 2014

carlos, o seu ficou grande, o ideal é que o código fique "quadrado" para ficar distribuído e conseguir usar um tamanho de fonte que seja legível, se for feito em uma linha só, a fonte vai ter que ser menor para caber o texto.

eu acho que teria que ser algo assim.... mesmo eu n gostando...

Rubyconf.new(
  year: 2014,
  role: :staff
)

@carloslopes
Copy link

Agreed.

Mas como vai ficar nas costas, talvez dê para colocar e ficar legível.

De qualquer maneira, sua alternativa fará com que possa utilizar uma fonte maior

@andrewhr
Copy link

class << self
  event :rubyconf
  year 2014
  role :staff
end
work! # =>  (╯°□°)╯︵ ┻━┻

:trollface:

@halan
Copy link

halan commented Aug 11, 2014

Maldito

@akitaonrails
Copy link

Esse mesmo que vai!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment