Fixed YARD documentation for Database.new.table
This commit is contained in:
parent
ca2feecef7
commit
c5f6a11a8d
|
@ -357,6 +357,7 @@ module LPGAR
|
|||
# Create class from table name
|
||||
# @param name [String]
|
||||
# @param block [#call]
|
||||
# @return [Class]
|
||||
def table(name, &block)
|
||||
conn = @conn
|
||||
new_class = Class.new(Record) do
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "lpgar"
|
||||
spec.version = "0.2.3"
|
||||
spec.version = "0.2.4"
|
||||
spec.summary = "Lightweight Postgres Active Record"
|
||||
spec.description = <<~DESC
|
||||
Lightweight implementation of Active Record pattern for Postgres.
|
||||
|
|
Loading…
Reference in New Issue