Coder Social home page Coder Social logo

nsi-abntformat's Introduction

nsi-abntformat

Como instalar:

gem install nsi-abntformat

Como usar

No exemplo abaixo, é gerada uma referência bibliográfica para trabalho de conclusão:

require "referencia_bibliografica"

class Documento
  include ReferenciaBibliografica

  attr_accessor :tipo, :autores, :titulo, :subtitulo, :data_defesa,
                :total_folhas, :tipo_trabalho, :instituicao, :local_defesa
end

documento = Documento.new
documento.tipo = 'trabalho de conclusão'
documento.autores = 'Linus Torvalds'
documento.titulo = 'Git'
documento.subtitulo = 'Destruindo o Passado de Trevas'
documento.data_defesa = 2008
documento.total_folhas = 120
documento.tipo_trabalho = 'Tese (Doutorado em Computacao)'
documento.instituicao = 'Instituto Federal Fluminense'
documento.local_defesa = 'Campos dos Goytacazes/RJ'

documento.referencia_abnt

=> 'TORVALDS, L. Git: Destruindo o Passado de Trevas. 2008. 120 f. Tese (Doutorado em Computacao) - Instituto Federal Fluminense, Campos dos Goytacazes/RJ.'

Copyright

Copyright © 2012 Núcleo de Pesquisa em Sistemas de Informação. See LICENSE.txt for further details.

nsi-abntformat's People

Contributors

natanael-araujo avatar waldofe avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.