Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (13 sloc) 0.249 kb
217e661 Nick Gasson Entries and fields
authored
1 module BibTeX
2
3 # A field within an entry E.g. author = {Foo}
4 class Field
5 attr_reader :key, :value
6
7 def initialize(key, value)
8 @key = key
9 @value = value
10 end
11
12 def to_s
13 "#{@key} = {#{@value}}"
14 end
15 end
16
17 end
Something went wrong with that request. Please try again.