Fixed YARD documentation for Database.new.table

This commit is contained in:
Yessiest 2023-10-11 10:29:27 +04:00
parent ca2feecef7
commit c5f6a11a8d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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.