Class: RDF::Vocab::V

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, #inspect, inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, register, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#acquaintanceRDF::Vocabulary::Term (readonly)



61
62
63
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 61

def acquaintance
  @acquaintance
end

#AddressRDF::Vocabulary::Term (readonly)

Postal address for a Person or Organization.



6
7
8
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 6

def Address
  @Address
end

#addressRDF::Vocabulary::Term (readonly)



64
65
66
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 64

def address
  @address
end

#affiliationRDF::Vocabulary::Term (readonly)

An affiliation can be specified by a string literal or an Organization instance.



68
69
70
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 68

def affiliation
  @affiliation
end

#amountRDF::Vocabulary::Term (readonly)



71
72
73
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 71

def amount
  @amount
end

#authorRDF::Vocabulary::Term (readonly)

An author of the recipe can be specified by a string literal or a Person instance.



75
76
77
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 75

def author
  @author
end

#availabilityRDF::Vocabulary::Term (readonly)



78
79
80
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 78

def availability
  @availability
end

#averageRDF::Vocabulary::Term (readonly)

The average of an aggregate value.



82
83
84
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 82

def average
  @average
end

#bestRDF::Vocabulary::Term (readonly)

The best value of a rating scale (default 5).



86
87
88
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 86

def best
  @best
end

#brandRDF::Vocabulary::Term (readonly)



89
90
91
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 89

def brand
  @brand
end

Represents a single Breadcrumb in a Breadcrumb trail.



10
11
12
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 10

def Breadcrumb
  @Breadcrumb
end

#caloriesRDF::Vocabulary::Term (readonly)



92
93
94
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 92

def calories
  @calories
end

#carbohydratesRDF::Vocabulary::Term (readonly)



95
96
97
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 95

def carbohydrates
  @carbohydrates
end

#categoryRDF::Vocabulary::Term (readonly)



98
99
100
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 98

def category
  @category
end

#childRDF::Vocabulary::Term (readonly)



101
102
103
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 101

def child
  @child
end

#cholesterolRDF::Vocabulary::Term (readonly)



104
105
106
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 104

def cholesterol
  @cholesterol
end

#colleagueRDF::Vocabulary::Term (readonly)



107
108
109
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 107

def colleague
  @colleague
end

#conditionRDF::Vocabulary::Term (readonly)



110
111
112
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 110

def condition
  @condition
end

#contactRDF::Vocabulary::Term (readonly)



113
114
115
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 113

def contact
  @contact
end

#cookTimeRDF::Vocabulary::Term (readonly)



116
117
118
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 116

def cookTime
  @cookTime
end

#countRDF::Vocabulary::Term (readonly)

The total number of items used in an aggregate (e.g., number of reviews).



120
121
122
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 120

def count
  @count
end

#currencyRDF::Vocabulary::Term (readonly)



123
124
125
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 123

def currency
  @currency
end

#descriptionRDF::Vocabulary::Term (readonly)



126
127
128
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 126

def description
  @description
end

#dtreviewedRDF::Vocabulary::Term (readonly)

The date of the review.



130
131
132
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 130

def dtreviewed
  @dtreviewed
end

#durationRDF::Vocabulary::Term (readonly)



133
134
135
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 133

def duration
  @duration
end

#fatRDF::Vocabulary::Term (readonly)



136
137
138
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 136

def fat
  @fat
end

#fiberRDF::Vocabulary::Term (readonly)



139
140
141
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 139

def fiber
  @fiber
end

#friendRDF::Vocabulary::Term (readonly)



142
143
144
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 142

def friend
  @friend
end

#highpriceRDF::Vocabulary::Term (readonly)



145
146
147
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 145

def highprice
  @highprice
end

#identifierRDF::Vocabulary::Term (readonly)



148
149
150
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 148

def identifier
  @identifier
end

#imageRDF::Vocabulary::Term (readonly)



151
152
153
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 151

def image
  @image
end

#ingredientRDF::Vocabulary::Term (readonly)

Represents ingredients used in a recipe.



155
156
157
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 155

def ingredient
  @ingredient
end

#instructionRDF::Vocabulary::Term (readonly)



158
159
160
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 158

def instruction
  @instruction
end

#InstructionsRDF::Vocabulary::Term (readonly)

Represents the steps to make a dish.



14
15
16
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 14

def Instructions
  @Instructions
end

#instructionsRDF::Vocabulary::Term (readonly)

Represents the steps to make a dish.



162
163
164
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 162

def instructions
  @instructions
end

#itemofferedRDF::Vocabulary::Term (readonly)



165
166
167
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 165

def itemoffered
  @itemoffered
end

#itemreviewedRDF::Vocabulary::Term (readonly)



168
169
170
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 168

def itemreviewed
  @itemreviewed
end

#localityRDF::Vocabulary::Term (readonly)



171
172
173
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 171

def locality
  @locality
end

#lowpriceRDF::Vocabulary::Term (readonly)



174
175
176
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 174

def lowprice
  @lowprice
end

#maxRDF::Vocabulary::Term (readonly)

The maximum value of an aggregated Rating.



178
179
180
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 178

def max
  @max
end

#minRDF::Vocabulary::Term (readonly)

The minimum value of an aggregated Rating.



182
183
184
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 182

def min
  @min
end

#nameRDF::Vocabulary::Term (readonly)



185
186
187
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 185

def name
  @name
end

#nicknameRDF::Vocabulary::Term (readonly)



188
189
190
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 188

def nickname
  @nickname
end

#NutritionRDF::Vocabulary::Term (readonly)

Represents the nutrition information about a recipe.



18
19
20
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 18

def Nutrition
  @Nutrition
end

#nutritionRDF::Vocabulary::Term (readonly)

Represents the nutrition information about a recipe.



192
193
194
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 192

def nutrition
  @nutrition
end

#OfferRDF::Vocabulary::Term (readonly)

Represents an offer to sell a product.



22
23
24
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 22

def Offer
  @Offer
end

#OfferAggregateRDF::Vocabulary::Term (readonly)

Represents a collection of offers to sell a product.



26
27
28
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 26

def OfferAggregate
  @OfferAggregate
end

#offercountRDF::Vocabulary::Term (readonly)



195
196
197
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 195

def offercount
  @offercount
end

#offerdetailsRDF::Vocabulary::Term (readonly)



198
199
200
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 198

def offerdetails
  @offerdetails
end

#offerurlRDF::Vocabulary::Term (readonly)



201
202
203
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 201

def offerurl
  @offerurl
end

#OrganizationRDF::Vocabulary::Term (readonly)

An Organization is a business, agency, school, etc.



30
31
32
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 30

def Organization
  @Organization
end

#PersonRDF::Vocabulary::Term (readonly)

Represents a Person, living/dead/fictional.



34
35
36
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 34

def Person
  @Person
end

#photoRDF::Vocabulary::Term (readonly)



204
205
206
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 204

def photo
  @photo
end

#prepTimeRDF::Vocabulary::Term (readonly)



207
208
209
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 207

def prepTime
  @prepTime
end

#priceRDF::Vocabulary::Term (readonly)



210
211
212
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 210

def price
  @price
end

#pricerangeRDF::Vocabulary::Term (readonly)

The price range of products and services offered by a restaurant, business or other organization.



214
215
216
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 214

def pricerange
  @pricerange
end

#pricevaliduntilRDF::Vocabulary::Term (readonly)



217
218
219
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 217

def pricevaliduntil
  @pricevaliduntil
end

#ProductRDF::Vocabulary::Term (readonly)

Represents a product or service in a Review or Review-aggregate.



38
39
40
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 38

def Product
  @Product
end

#proteinRDF::Vocabulary::Term (readonly)



220
221
222
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 220

def protein
  @protein
end

#publishedRDF::Vocabulary::Term (readonly)



223
224
225
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 223

def published
  @published
end

#quantityRDF::Vocabulary::Term (readonly)



226
227
228
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 226

def quantity
  @quantity
end

#RatingRDF::Vocabulary::Term (readonly)

Represents a rating in a Review or Review-aggregate.



42
43
44
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 42

def Rating
  @Rating
end

#ratingRDF::Vocabulary::Term (readonly)

A rating can be specified by a string literal or a Rating instance.



230
231
232
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 230

def rating
  @rating
end

#RecipeRDF::Vocabulary::Term (readonly)

A single instance of a Recipe.



46
47
48
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 46

def Recipe
  @Recipe
end

#RecipeIngredientRDF::Vocabulary::Term (readonly)

Represents ingredients used in a recipe.



50
51
52
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 50

def RecipeIngredient
  @RecipeIngredient
end

#recipeTypeRDF::Vocabulary::Term (readonly)



233
234
235
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 233

def recipeType
  @recipeType
end

#regionRDF::Vocabulary::Term (readonly)



236
237
238
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 236

def region
  @region
end

#ReviewRDF::Vocabulary::Term (readonly)

A single instance of a Review.



54
55
56
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 54

def Review
  @Review
end

#reviewerRDF::Vocabulary::Term (readonly)

A reviewer can be specified by a string literal or a Person instance.



240
241
242
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 240

def reviewer
  @reviewer
end

#roleRDF::Vocabulary::Term (readonly)



243
244
245
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 243

def role
  @role
end

#saturatedFatRDF::Vocabulary::Term (readonly)



246
247
248
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 246

def saturatedFat
  @saturatedFat
end

#sellerRDF::Vocabulary::Term (readonly)



249
250
251
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 249

def seller
  @seller
end

#servingSizeRDF::Vocabulary::Term (readonly)



252
253
254
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 252

def servingSize
  @servingSize
end

#sugarRDF::Vocabulary::Term (readonly)



255
256
257
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 255

def sugar
  @sugar
end

#summaryRDF::Vocabulary::Term (readonly)



258
259
260
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 258

def summary
  @summary
end

#tagRDF::Vocabulary::Term (readonly)



261
262
263
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 261

def tag
  @tag
end

#telRDF::Vocabulary::Term (readonly)



264
265
266
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 264

def tel
  @tel
end

#TimeRangeRDF::Vocabulary::Term (readonly)

Represents the length of time it takes to prepare a recipe.



58
59
60
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 58

def TimeRange
  @TimeRange
end

#timeRangeRDF::Vocabulary::Term (readonly)

Represents the length of time it takes to prepare a recipe.



268
269
270
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 268

def timeRange
  @timeRange
end

#titleRDF::Vocabulary::Term (readonly)



271
272
273
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 271

def title
  @title
end

#totalTimeRDF::Vocabulary::Term (readonly)



274
275
276
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 274

def totalTime
  @totalTime
end

#unsaturatedFatRDF::Vocabulary::Term (readonly)



277
278
279
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 277

def unsaturatedFat
  @unsaturatedFat
end

#urlRDF::Vocabulary::Term (readonly)



280
281
282
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 280

def url
  @url
end

#valueRDF::Vocabulary::Term (readonly)

The value of a single Rating.



284
285
286
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 284

def value
  @value
end

#worstRDF::Vocabulary::Term (readonly)

The poorest value of a rating scale (default 1).



288
289
290
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 288

def worst
  @worst
end

#yieldRDF::Vocabulary::Term (readonly)



291
292
293
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-ebdabd34582e/lib/rdf/vocab/v.rb', line 291

def yield
  @yield
end